package com.kx.kxblog.annotation;

import com.kx.kxblog.enums.ResultCode;
import org.apache.logging.log4j.util.Strings;
import org.springframework.http.HttpStatus;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface DefaultResult {
    ResultCode code() default ResultCode.SUCCESS;
    String value();
}